package com.iflytek.sbd.exception;

/**
 * @program: myes
 * @description: 自定义顶级异常
 * @author: 陈英俊
 * @create: 2021-09-09 17:39
 */
public class AbstractClException extends RuntimeException{
    protected final String errCode;
    protected final String errMsg;

    public AbstractClException(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public String getCode() {
        return this.errCode;
    }

    public String getMsg() {
        return this.errMsg;
    }
}
